package com.app.twth.ui.b2cpick;

import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Data
public class B2CPickDetails implements Serializable {
    private String pickNo;
    private String locationCode;
    private int locationQty;
    private List<SkuDetailListDTO> skuDetailList;

    @NoArgsConstructor
    @Data
    public static class SkuDetailListDTO implements Serializable {
        private String sku;
        private int pendingTotalQty;
        private int pendingQty;
        private int pickedQty;
        private int inventoryQty;
        private List<IbLpnListDTO> ibLpnList;
        private List<LocationLpnDTO> locationLpnDTOS;
        private boolean click;
    }

    @NoArgsConstructor
    @Data
    public static class IbLpnListDTO implements Serializable {
        private String lpn;
        private int skuQty;
    }

    @NoArgsConstructor
    @Data
    public static class LocationLpnDTO implements Serializable {
        private String locationCode;
        private List<IbLpnListDTO> ibLpnList;
    }
}
